
<div id="bckmain">
    <div id="titlemerah"><p align="left">History Booking</p></div>

    </ul>
    <?php if ($this->uri->segment(3) == "berhasil"): ?>
        <font color="green"><?php echo "Berhasil Membuat Permintaan Refund"; ?></font>
    <?php endif; ?>


    <table class="table table-hover table-bordered">
        <thead>
            <tr>
                <th>No</th>
                <th>Maskapai</th>
<!--                <th>Kode booking</th>-->
                <th>No. Tiket</th>
                <th>Nama Penumpang</th>
                <th>Status</th>
                <th>Aksi</th>
<!--                <th>Keterangan</th>-->
            </tr>
        </thead>
        <tbody>
            <?php $saldo = 0 ?>
            <?php foreach ($rows as $refund): ?>
                <tr>
                    <td><?php echo $i ?></td>
                    <td><?php echo get_airlines($refund->id_maskapai) ?></td>
                    <td><?php echo $refund->no_tiket ?></td>
                    <td><?php echo $refund->nama ?></td>
                    <td><?php echo get_status_deposit($refund->status) ?></td>
                    <td><?php echo get_show(1, 'deposits/showrefund/', $refund->id)?></td>
                    <?php $i++ ?>
                <?php endforeach ?>
            </tr>
        </tbody>

    </table>

</div>